package com.cyandpos.pad.attachselect.model;



import com.cyandpos.pad.posdata.GetValueCardResponse;
import com.cyandpos.pad.posdata.GetVipCouponResponse;
import com.cyandpos.pad.posdata.QueryMemberInfoResponse;
import com.cyandpos.pad.posdata.QueryMemberRequest;


public interface IMemberModel {


    void queryMemberDetail(QueryMemberRequest requestParam, onQueryMemberDetailListener listener);

     interface onQueryMemberDetailListener{
        void onQueryMemberDetailSuccess(QueryMemberInfoResponse member);
        void onQueryMemberDetailFail(String errorMessage);
    }




    void queryMemberCoupon(QueryMemberRequest requestParam, onQueryMemberCouponListener listener);

    interface onQueryMemberCouponListener{
        void onQueryMemberCouponSuccess(GetVipCouponResponse responseData);
        void onQueryMemberCouponFail(String errorMessage);
    }



    void queryValueCard(QueryMemberRequest requestParam, onQueryValueCardListener listener);

    interface onQueryValueCardListener{
        void onQueryValueCardSuccess(GetValueCardResponse responseData);
        void onQueryValueCardFail(String errorMessage);
    }

}
